package com.wu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
//    private int id;
//   private String name;
//    //多个学生可以是同一个老师，即多对一
//    private Teacher teacher;

     private int id;
     private String name;
     private int tid;
}
